package com.yuelao.yuelao_backend.dto.request;

import com.yuelao.yuelao_backend.entity.json.MediaItem;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;

@Data
public class AddPostRequest {
    @NotBlank(message = "动态内容不能为空")
    @Size(max = 1000, message = "动态内容不能超过1000字")
    private String content;

    private String location;
    private BigDecimal latitude;
    private BigDecimal longitude;
    private List<MediaItem> media;
}